package com.example.designer.observer.inner;

public class Demo {

    public static void main(String[] args) {
        weather weather = new weather();
        Current current = new Current();
        weather.addObserver(current);

        weather.setChanged();
        weather.notifyObservers("11111");
    }
}
